package com.yuantu.judiciary.exception.enums;

import com.yuantu.judiciary.common.CodeEnum;
import lombok.Getter;
import lombok.RequiredArgsConstructor;

/**
 * 邀请码模块异常码
 *
 * @author syw
 * @since 2023-08-11
 **/
@Getter
@RequiredArgsConstructor
public enum DisCountCodeExceptionEnum implements CodeEnum {
    /**
     * 优惠码相关
     */
    DISCOUNT_CODE_NOT_EXIST(78001, "优惠码不存在"),

    DISCOUNT_CODE_INVALID(78002, "优惠码无效"),

    DISCOUNT_PRICE_ERROR(78003, "使用优惠码后的价格小于零，请核对套餐价格和优惠码所对应的优惠价格"),

    DISTRIBUTE_CODE_NOT_EXIST(78004, "分享码不存在"),

    ;

    private final int code;
    private final String message;
}
